home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
snooze.arc
/
SNOOZE.DOC
< prev
Wrap
Text File
|
1986-04-19
|
5KB
|
187 lines
Snooze Version 1.1 March, 1986
Snooze..........Version 1.1
by Steve Feldman
(C) Copyright 1986 by Data Guidance. ALL RIGHTS RESERVED!
Snooze is not public domain software, but is user supported software(also
known as freeware). In the interest of all computer users, please feel free
to copy and distribute this software to others. If you feel this program has
benefited you, you are asked to make a contibution of $5 to help support this
product. Contributions and comments may be sent to:
Data Guidance
2750 Quaker Lane
Plymouth, MN 55441
All non-commercial users of Snooze are granted a limited license to use
Snooze, to copy and distribute it, provided that:
* This product may not be used for commercial purposes
* No fees are charged for copying and distribution
* No modification is made to either the software or any related documentation
Commercial users of Snooze must pay a $5 license fee, per copy, when used
for business purposes, or incorporated within another product. An unlimited
site licence may be granted for a $50 one time license fee. Data Guidance does
not express or imply any warantees for this software, or provide support beyond
its originally designed purpose.
(C) 1986 Data Guidance. ALL RIGHTS RESERVED Page 1
Snooze Version 1.1 March, 1986
Snooze lets your computer "sleep" until a specified time of the day. With
Snooze in a batch file, you can leave your computer unattended and it will
awaken at any time you want to continue processing. Snooze can sleep for as
little a 1 second, or for as long as 8 months(but I don't know why you would
want to do that).
Snooze was written in Pascal, and uses the DATE and TIME interrupts of your
computer. The DATE and TIME should be set before using this program.
HOW TO USE SNOOZE
-----------------
The syntax for Snooze is: SNOOZE [+] [dd;] [[hh:] mm:] [ss]
where dd represents days hh represents hours
mm represents minutes ss represents seconds
For those of you who have not seen computer syntax before, anything shown in
brackets is optional. At least one of the values must be present if you want
to snooze.
The plus sign indicates whether the time is relative or absolute. When it
is present, the time following the plus is added to the current time. In this
case, Snooze is a timer. When it is omitted, the time entered is the actual
time to awaken. In this case, Snooze is an alarm clock. NOTE: If the time
entered is less than the current time, you must use the day option to indicate
the next day(see examples).
The day option is recognized by the comma that must follow it. This tells
Snooze that the time to awaken is not today but at a time after today. This
value may be any number from 0 to 250. If this value is present, no other
values are needed.
The hour, minute and second options are recognized by the placement of the
colons. If no colons are seen, only seconds are used; one colon implies
minutes and seconds; two colons imply all three are used. Snooze will accept
any value from 0 to 250 each option, or the value may be omitted.
The last section of this document shows some examples for using Snooze.
OTHER COMMENTS
--------------
Snooze can be halted at any time by entering a Ctrl-Break.
If no options are provided when you try to Snooze, Snooze will show you the
proper syntax. If you enter an option incorrectly, Snooze will try to point
out where the problem is.
When Snooze awakens, it has a tendency to yawn.
(C) 1986 Data Guidance. ALL RIGHTS RESERVED Page 2
Snooze Version 1.1 March, 1986
EXAMPLES
--------
Let's assume that it is 1:30 P.M. The computer calls this 13:30:00.
SNOOZE 18:00:00 Snooze will wake up at 6:00 PM
SNOOZE 00:00:00 With all of these, Snooze will wake up at
24:00:00 midnight
0
1;
SNOOZE 13:00:00 Snooze will not sleep as 1 P.M. has already
13:: passed.
SNOOZE +3:0 Snooze will wake up in 3 minutes, or 13:33:00
+180
SNOOZE +1::0 Snooze will wake up in 1 hour, or 14:30:00
SNOOZE +1;2::5 Snooze will sleep until 15:30:05 tommorrow
SNOOZE 1:::5 Snooze will point to the 3rd colon as an error
(C) 1986 Data Guidance. ALL RIGHTS RESERVED Page 3